﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Contact
/// </summary>
public class DTO_Contact
{
    private int _id;
    private string _name;
    private string _phone;
    private string _email;
    private string _title;
    private string _content;
    private int _status;

    public int ID
    {
        get { return _id; }
        set { _id = value; }
    }
    public string Name
    {
        get { return _name; }
        set { _name = value; }
    }
    public string Phone
    {
        get { return _phone; }
        set { _phone = value; }
    }
    public string Email
    {
        get { return _email; }
        set { _email = value; }
    }
    public string Title
    {
        get { return _title; }
        set { _title = value; }
    }
    public string Content
    {
        get { return _content; }
        set { _content = value; }
    }
    public int Status
    {
        get { return _status; }
        set { _status = value; }
    }
	public DTO_Contact()
	{
        _id = 0;
        _name = "";
        _phone = "";
        _email = "";
        _title = "";
        _content = "";
        _status = 1;
	}
    public DTO_Contact(int id, string name, string phone, string email, string title, string content, int status)
    {
        this.ID = id;
        this.Name = name;
        this.Phone = phone;
        this.Email = email;
        this.Title = title;
        this.Content = content;
        this.Status = status;
    }
    public DTO_Contact(DTO_Contact obj)
    { 
        this.ID = obj.ID;
        this.Name = obj.Name;
        this.Phone = obj.Phone;
        this.Email = obj.Email;
        this.Title = obj.Title;
        this.Content = obj.Content;
        this.Status = obj.Status;
    }
}